<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        div{
            width: 600px;
            height: auto;
            border-top: solid 5px yellow;
            border-bottom: solid 3px gray;
            margin: 10px auto;
        }
         a{
            display:inline-block;
            width: 100px;
            height: 30px;
            text-align: center;
            padding-top: 15px;
            text-decoration: none;
            color: black;
        }
        a:hover{
            background-color:lightgrey;
            text-decoration: underline;
         }
       
    </style>
</head>
<body>
    <div >
        <a href="#">首页</a><a href="#">手机新浪网</a><a href="#">移动客户端</a><a href="#">博客</a><a href="#">微博</a><a href="#">关注我</a>
    </div>
</body>
</html>